import Vue from 'vue'
import App from './App'
import router from './router'
import 'element-ui/lib/theme-chalk/index.css'
import ElementUI from 'element-ui'
Vue.use(ElementUI)
import echarts from 'echarts'
Vue.prototype.$echarts = echarts
import '../node_modules/_echarts@4.7.0@echarts/theme/vintage'
Vue.config.productionTip = false
import  VueResource  from 'vue-resource'
Vue.use(VueResource) 
require('./mock')

new Vue({
  el: '#app',
  router,
  components: { App },
  template: '<App/>'
})
